package com.bwie.service.impl;

import com.bwie.mapper.UserMapper;
import com.bwie.pojo.po.User;
import com.bwie.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User getUserById(Integer userId) {
        User user = userMapper.getUserById(userId);


        return user;
    }
}
